package com.giscloud.limp.dao;

import com.giscloud.limp.entity.CaseSecondInstance;
import org.apache.ibatis.annotations.Param;
import com.giscloud.limp.entity.CaseSecondInstanceExample;
import java.util.List;
import java.math.BigDecimal;
import com.giscloud.datasource.core.DynamicDataSource;
/**
 * 二审案件信息
 * 
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 14:25:27
 */
public interface CaseSecondInstanceDao {
    @DynamicDataSource("ds1")
    long countByExample(CaseSecondInstanceExample example);
    @DynamicDataSource("ds1")
    int deleteByExample(CaseSecondInstanceExample example);
    @DynamicDataSource("ds1")
    int insert(CaseSecondInstance record);
    @DynamicDataSource("ds1")
    int insertSelective(CaseSecondInstance record);
    @DynamicDataSource("ds1")
    List<CaseSecondInstance> selectByExample(CaseSecondInstanceExample example);
    @DynamicDataSource("ds1")
    int updateByExampleSelective(@Param("record") CaseSecondInstance record, @Param("example") CaseSecondInstanceExample example);
    @DynamicDataSource("ds1")
    int updateByExample(@Param("record") CaseSecondInstance record, @Param("example") CaseSecondInstanceExample example);
    @DynamicDataSource("ds1")
    int updateByPrimaryKeySelective(CaseSecondInstance record);
    @DynamicDataSource("ds1")
    int updateByPrimaryKey(CaseSecondInstance record);
    @DynamicDataSource("ds1")
    CaseSecondInstance selectByPrimaryKey(Integer caseSecondId);
    @DynamicDataSource("ds1")
    CaseSecondInstance selectOneByExample(CaseSecondInstanceExample example);
    @DynamicDataSource("ds1")
    CaseSecondInstance selectOneByExampleSelective(@Param("example") CaseSecondInstanceExample example, @Param("selective") CaseSecondInstance.Column... selective);
    @DynamicDataSource("ds1")
    CaseSecondInstance selectByPrimaryKeySelective(Integer caseSecondId, @Param("selective") CaseSecondInstance.Column... selective);
    @DynamicDataSource("ds1")
    List<CaseSecondInstance> selectByExampleSelective(@Param("example") CaseSecondInstanceExample example, @Param("selective") CaseSecondInstance.Column... selective);

}
